package com.qianxiwitmanagement.service;

import com.qianxi.wit.pojo.TbAdministrator;
import com.qianxi.wit.pojo.TbSufferer;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient("qianxiwit-service")
public interface TbSuffererService {

    @PostMapping("/findByToken")
    TbAdministrator findByToken(@RequestBody TbSufferer tbSufferer);
    @PostMapping("/deleteByToken")
    void deleteByToken(@RequestBody TbSufferer tbSufferer);
}
